#pragma once
#include "tool.h"

class CPanTool : public CTool
{
public:
	CPanTool(CGISApplication* pApplication);
	~CPanTool();
	virtual void OnLButtonDown(CMousePoint point);
	virtual void OnLButtonMove(CMousePoint point);
	virtual void OnLButtonUp(CMousePoint point);
	void OnMouseWheel(CMousePoint point,double delta);
private:
	bool m_bButtonDown;
	CMousePoint m_prePoint;
	CMousePoint m_curPoint;
};
